package com.flaskpy.web.eternity.core.exception;

import com.flaskpy.web.eternity.core.exception.abs.IExceptionEnum;
import lombok.Getter;

/**
 * @className: BizDataException
 * @description: 这个人很赖不留下一点说明
 * @author: flaskpy 代码copy大师
 * @date: 2021/6/10
 **/
@Getter
public class BizDataException extends BizException {
    private Object data;
    public BizDataException(IExceptionEnum exceptionEnum) {
        super(exceptionEnum);
    }
    public BizDataException(IExceptionEnum exceptionEnum,Object data) {
        super(exceptionEnum);
        this.data=data;
    }
}
